﻿<UserControl x:Class="VNet.VisiSuite.VisiCentral.Controls.WhiteHeader2Control" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:vuc="clr-namespace:VNet.VisiSuite.Controls;assembly=VNet.VisiSuite.Controls" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" x:Name="mywindow" Unloaded="OnUnloaded">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Assets/Styles/AppStyles.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Image Grid.Column="0" Source="{Binding StaticData.LogoPath}" Margin="10,3,15,0" Focusable="False" />
        <vuc:MetroIconMenu Grid.Column="1" x:Name="_leftMenu" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,10,0,0" />
        <TextBlock Grid.Column="2" x:Name="_titleTblk" Style="{StaticResource HeaderBlueTextBlockStyle}" VerticalAlignment="Center" TextAlignment="Left" Text="{Binding PageTitle}" />
        <TextBlock Grid.Column="3" x:Name="_datetime_text" VerticalAlignment="Center" Style ="{StaticResource DateTimeTextBlockBlueStyle }"/>
        <vuc:MetroIconMenu Grid.Column="4" x:Name="_rightMenu" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,10,8,0" />
    </Grid>
</UserControl>
